package com.operate.api.app.message.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
public class AppMessageVO implements Serializable {
    private static final long serialVersionUID = -1L;
    @ApiModelProperty(value = "ID")
    private String id;
    @ApiModelProperty(value = "消息标题")
    private String msgTitle;
    @ApiModelProperty(name = "消息内容")
    private String msgDesc;
    @ApiModelProperty(name = "消息类型（   1 用户服务协议 2 用户隐私政策 3儿童个人信息保护规则 4青少年文明公约    9 充值通知）")
    private Integer msgType;
    @ApiModelProperty(name = "关联ID")
    private String relationId;
    @ApiModelProperty(value = "信息通知时间")
    @JsonFormat(locale = "zh", timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
}
